package com.liuyang.second.concurrency.chapter3;

public abstract class ObServer {
    public Subject subject;


    public ObServer(Subject subject) {
        this.subject = subject;
        this.subject.attach(this);
    }

    public abstract void update();

}
